package com.ikingtech.framework.sdk.enums.authorization;

import lombok.RequiredArgsConstructor;

@RequiredArgsConstructor
public enum ResourcePermissionEnum {

    WRITE("写入", ResourceTypeEnum.DATA),

    REMOVE("移除", ResourceTypeEnum.DATA),

    UPDATE("更新", ResourceTypeEnum.DATA),

    READ("读取", ResourceTypeEnum.DATA),

    CALL("调用", ResourceTypeEnum.API),

    ACCESS("访问", ResourceTypeEnum.MENU);

    public final String description;

    public final ResourceTypeEnum resourceType;
}
